package com.jh.user.business;

import com.jh.user.pojo.StoreInfo;
import com.jh.user.pojo.TerminalInfo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface TerminalInfoBussiness {
    Page<TerminalInfo> findByShopIdAndShopNameAndTerminalTypeAndTerminalNo(String shopId, String shopName, Integer terminalType, String terminalNo, String machineNo,String evmNo, String startTime, String endTime, Pageable pageable);

    Object mergeTerminalInfo(TerminalInfo terminalInfo);

    void updateTerminalPos(TerminalInfo terminalInfo) throws Exception;

    void updateTerminalTk(TerminalInfo terminalInfo) throws Exception;

    void deleteTerminalInfo(String shopId,String terminalInfo) throws Exception;

    Object findByShopId(String shopId);
}
